﻿using System;
using System.Collections.Generic;
using System.Data.SQLite;
using System.Linq;
using System.Text;

namespace DataAccessService.Repository
{
    public class SqliteConnectRepository
    {
        public SQLiteConnection GetConn()
        {
            string dbPath = string.Format("Data Source={0}Data\\data.db", AppDomain.CurrentDomain.BaseDirectory);
            SQLiteConnection conn = new SQLiteConnection(dbPath);
            conn.Open();

            return conn;
        }
    }
}
